pkgname="device-sony-honami"
pkgdesc="Sony Xperia Z1"
pkgver=1.0
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="noarch"
options="!check"
depends="linux-sony-honami firmware-sony-amami msm-fb-refresher mkbootimg"
source="deviceinfo 90-android-touch-dev.rules"

package() {
	install -Dm644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -Dm644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}

sha512sums="38d2efc3dc0db2420e43e26a591e85de6de7b0a4cead18f98796f9cf61ae775f9be84b01a5863b4ccdce5a52ce3376c8671ad4bb9d948c70b8ac92fce9bb0189  deviceinfo
1651ac9eda3c97fafe55abe0f0ae429e04f73edcbf2c56aa3259f81837f7adde348bcb385daed05c30cfc61415455a459a917ed3acccbfd9b7a1caa32a851d40  90-android-touch-dev.rules"
